package com.dao.secondary.device;

import com.model.domain.device.GetDevicePcbGpsImgInfoDO;
import com.model.pojo.device.DevicePcbGpsImgInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DevicePcbGpsImgInfoMapper {
    int deleteByPrimaryKey(@Param("devicePcbGpsImgInfoId") Long devicePcbGpsImgInfoId);

    int insert(DevicePcbGpsImgInfo record);

    int insertSelective(DevicePcbGpsImgInfo record);

    DevicePcbGpsImgInfo selectByPrimaryKey(@Param("devicePcbGpsImgInfoId") Long devicePcbGpsImgInfoId, @Param("isDelete") Byte isDelete);

    int updateByPrimaryKeySelective(DevicePcbGpsImgInfo record);

    int updateByPrimaryKey(DevicePcbGpsImgInfo record);

    //    List<DevicePcbGpsImgInfo> selectList(GetDevicePcbGpsImgInfoDO getdevicePcbGpsImgInfoDO);
    List<DevicePcbGpsImgInfo> selectList(@Param("getDevicePcbGpsImgInfoDO") GetDevicePcbGpsImgInfoDO getDevicePcbGpsImgInfoDO);

    void insertListSelective(List<DevicePcbGpsImgInfo> devicePcbGpsImgInfoList);

    void updateListSelective(List<DevicePcbGpsImgInfo> devicePcbGpsImgInfoList);

    int has(@Param("devicePcbGpsImgInfoId") Long devicePcbGpsImgInfoId, @Param("isDelete") Byte isDelete);
}